package com.github.easyms.server;

import com.github.easyms.common.property.DruidProperties;
import com.github.easyms.common.property.EasymsProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @author Leo.Liao
 * Easyms接口程序启动类
 * @date 2020-03-30 17:02:38
 */
@SpringBootApplication
@MapperScan("com.github.easyms.server.mapper")
@EnableConfigurationProperties({EasymsProperties.class, DruidProperties.class})
public class EasymsServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(EasymsServerApplication.class);
    }

}
